package com.y2.authprj.bean.auth.model;

import java.io.Serializable;
import java.util.Date;

import com.y2.authprj.utils.DateUtil;

public class SysroleInfo implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -5819756341861766904L;
	private Integer roleId;
	private String name;
	private Integer deleteFlag;
	private Date createTime;
	private Integer mangerroleFlag;
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Integer getMangerroleFlag() {
		return mangerroleFlag;
	}
	public void setMangerroleFlag(Integer mangerroleFlag) {
		this.mangerroleFlag = mangerroleFlag;
	}
	public SysroleInfo(Integer roleId, String name, Integer deleteFlag, Date createTime, Integer mangerroleFlag) {
		super();
		this.roleId = roleId;
		this.name = name;
		this.deleteFlag = deleteFlag;
		this.createTime = createTime;
		this.mangerroleFlag = mangerroleFlag;
	}
	public SysroleInfo() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "SysroleInfo [roleId=" + roleId + ", name=" + name + ", deleteFlag=" + deleteFlag + ", createTime="
				+ createTime + ", mangerroleFlag=" + mangerroleFlag + "]";
	}
	public String getCreateDateStr(){
		return DateUtil.formate(getCreateTime());
		 
	}
	
}
